/**
 * Copyright 2011 Micro_SNS Group. All Right reserved.
 */
package com.team.sns.web;

import java.util.UUID;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.opensymphony.xwork2.ActionSupport;

/**
 * @author seven
 * @version 1.0
 * 功能说明：action基类，用以提高action的可维护行
 *
 */
@SuppressWarnings("serial")
@Controller @Scope("prototype")
public class BasicAction extends ActionSupport{
	/**
	 * 说明：创建uuid主键
	 * @return
	 */
	public static String getUUID(){
		return UUID.randomUUID().toString();
	}
}
